package com.w.service;

import com.github.pagehelper.PageInfo;
import com.w.domain.Gly;
import com.w.domain.User;
import com.w.domain.WenJian;
import org.apache.ibatis.annotations.Param;

import java.util.ArrayList;


public interface UserService {
    PageInfo getAllInfo(int pageNum, int pageSize);

    void insertInfo(User user);

    Long selectFwl();

    void updataFwl(@Param("sums") Long sums);

    int deleteInfo(@Param("ip") String ip);

    Gly glyLogin(Gly gly);

    String getHappyInfo(@Param("id") int id);

    int insertWenjian(WenJian wenJian);

    PageInfo getAllWenjian(String name,int pageNum, int pageSize);

    int deleteOne(Integer wid);

    WenJian getOneWenjian(Integer wid);
}
